package com.maoslv.service.good;

import com.maoslv.pojo.Goods;
import com.maoslv.pojo.Order;
import com.maoslv.pojo.Pagination;

import java.util.List;
import java.util.Map;

public interface GoodsService {
    Map<String,Object> getGoodsList(Pagination pagination);

    int addGoods(Goods goods);

    Goods getGoodsInfo(Integer id);

    int updateGoods(Goods goods);

    List<Goods> getShopCarGoods();

    int batchUpdateGoods(List<Goods> goodsList);
}
